#include "DBManager/Repository/HDF5/Input/Dynamic/RCROSSRepository.h"

#include "DBManager/Repository/HDF5/Base/HDF5RepositoryMacro.h"

HDF5_REG_REPOSITORY(RCROSSRepository)

using namespace SG::DBManager::HDF5;

RCROSSRepository::RCROSSRepository(HDF5Database& database)
    : SG::DBManager::HDF5::SingleSetRepositoryBase<
          SG::DataStructure::FEM::RCROSSData>(database) {}

void RCROSSRepository::InitialDatasetInfo() {
  RegisterTableInfo<SG::DataStructure::FEM::RCROSSData>(
      "/SG/INPUT/DYNAMIC/RCROSS", MainDataset);
  RegisterTableInfo<SG::DataStructure::Common::Id>(
      "/OWN/INDEX/INPUT/DYNAMIC/RCROSS", IndexDataset);
}
